
import request from '@/utils/request'


// 获取合同列表
export function listContracts(query) {
    return request({
      url: '/uploading/query',
      method: 'get',
      params: query
    })
  }
  
  // 上传合同
  export function uploadContract(data) {
    return request({
      url: '/uploading/add',
      method: 'post',
      data: data
    })
  }

  
 
  //删除文件
  export function delContract(id) {
    return request({
      url: '/uploading/' + id,
      method: 'delete'
    })
  }
  
  
  
